package main

import (
	"net/http"
	"server/conf"
)
import "server/routers"

func main() {
	conf.InitDb()
	r := routers.InitRouter()
	server := &http.Server{
		Addr:    "192.168.255.190:8080",
		Handler: r,
	}
	err := server.ListenAndServe()
	if err != nil {
		return
	}
}
